﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ProTrack.Entity
{
    public class UnitMeasure
    {
        /// <summary>
        /// 单位ID
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 单位编码
        /// </summary>
        public string MeasureCode { get; set; }

        /// <summary>
        /// 单位名称
        /// </summary>
        public string MeasureName { get; set; }

        /// <summary>
        /// 是否是主单位
        /// </summary>
        public char PrimaryFlag { get; set; }

        /// <summary>
        /// 与主单位换算比例
        /// </summary>
        public decimal? ChangeRate { get; set; }

        /// <summary>
        /// 是否启用
        /// </summary>
        public char EnableFlag { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 主单位ID
        /// </summary>
        public long? PrimaryId { get; set; }

        /// <summary>
        /// 创建者
        /// </summary>
        public string Creator { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 更新者
        /// </summary>
        public string Updater { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public bool Deleted { get; set; }
    }
}
